package com.ys.dubbo.spring.cloud.feign.consumer;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>@description: </p>
 *
 * @author yangshuang
 * @version 1.0
 * @date 2019/6/16 20:28
 */
@FeignClient("dubbo-spring-cloud-feign-client")
public interface EchoService {


    @GetMapping(value = "/echo")
    String echo(@RequestParam("message") String message);
}
